import sqlite3 
import random
from funcs import *
db = "dictation.db"
def main():
	conn = sqlite3.connect(db)
	cur = conn.cursor()
	sourceList = getSourceList(cur,"ziyin_1")
	genMulDoc(sourceList,"testdoc",0)
	cur.close()
	conn.close()
if __name__ == '__main__':
	main()